
#{ifErrors}
	#{errors}
	<li>${error}</li>
	#{/errors}
#{/ifErrors}
#{if flash.error}
    <p style="color:#c00">
        ${flash.error}
    </p>
#{/if}
 
#{form @Registracia.create()}
<div id="register" align="center">
<h3 align="center">Registration</h3>
 <table>
	<tr>
		<td>
			Name:
		</td>
		<td>
			<input type="text" name="name" value="${flash.name}" />  </td>
	</tr>
	<tr>
		<td>
			Surname:
		</td>
		<td>
			<input type="text" name="surname" value="${flash.surname}" /></td>
	</tr>	
	<tr>
		<td>
			Group:
		</td>
		<td>
			<input type="text" name="group" value="${flash.group}"/></td>
	</tr>
	<tr>
		<td>
			Email:
		</td>
		<td>
	    	<input type="text" name="email" value="${flash.email}" /> </td>
	</tr>
	<tr>
		<td>
			Password:
		</td>
		<td>
	    	<input type="password" name="password" value="${flash.password}" /> </td>
	</tr>
	<tr>	
		<td>
			password Confirm:
		</td>
		<td>
	    	<input type="password" name="passwordConfirm" value="${flash.passwordConfirm}" /> </td>
	</tr>
	<tr>
		<td>
		</td>
		<td align="right">
	      <input  type="submit" value="Register" />  
	    </td>
	</tr> 
  </table>
</div>
#{/form}
